package com.zzp.api;

import com.zzp.fallback.ProviderFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "service-provider", path = "/provider", fallback = ProviderFallback.class)
public interface ProviderClient {

    @DeleteMapping("/delete/{id}")
    Boolean deleteStudent(@PathVariable("id") Integer id);

}


